/*
 * @Descripttion: 
 * @Author: zhanyi
 * @Date: 2021-10-20 14:10:56
 * @FilePath: \wczd-mobile\src\util\auth.js
 */
const TokenKey = 'Token'

export function getToken () {
  return uni.getStorageSync(TokenKey);
}

export function roles () {
  return uni.getStorageSync(roles);
}

export function setToken (token) {
	return uni.setStorageSync(TokenKey, token);
}

export function removeToken () {
  return uni.removeStorageSync(TokenKey);
}

export function setIsMobileCookie (val) {
	
  return uni.setStorageSync('IsMobileCookie', val);
}
export function getIsMobileCookie (val) {
  return uni.getStorageSync('IsMobileCookie');
}